import React, {Component} from 'react';
import {
    StyleSheet,
    View,
    Platform,
    Alert
} from 'react-native';

import { SearchBox } from "../components/SearchBox";

export class searchBoxDemo extends Component {

    constructor(props){
        super(props);

        this.state = {};
    }

    render(){
        return (
            <View style={{flex: 1, paddingTop: 64, backgroundColor: '#efeff4'}}>
                <SearchBox
                    onSearch={(text) => Alert.alert('search', text)}
                    backgroundColor="#fff" placeholder="运单号" />
            </View>
        )
    }
}